package org.light.test.bean;

import java.util.List;

import org.codehaus.jackson.annotate.JsonIgnore;
import org.light.framework.orm.annotation.Column;
import org.light.framework.orm.annotation.PrimaryKey;
import org.light.framework.orm.annotation.Table;

@Table(name="mcm_z_area")
public class City {
	
	/**
     * ID
     */
    @PrimaryKey(name = "area_id")
    private String areaId;
    
    @JsonIgnore
    @Column(name="area_type")
    private String areaType;

    @JsonIgnore
    @Column(name="parent_id")
    private String parentId;

	/**
     * 别名
     */
    @Column(name = "area_name")
    private String areaName;
    
    private List<Country> counties;
    
    
    public String getAreaId() {
		return areaId;
	}


	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}


	public String getAreaType() {
		return areaType;
	}


	public void setAreaType(String areaType) {
		this.areaType = areaType;
	}


	public String getAreaName() {
		return areaName;
	}


	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}


	public List<Country> getCounties() {
		return counties;
	}


	public void setCounties(List<Country> counties) {
		this.counties = counties;
	}
	
    public String getParentId() {
		return parentId;
	}


	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
}
